﻿using System;
using System.Collections.Generic;
using System.Text;
using Volo.Abp.Application.Dtos;

namespace wisdom_logistics.Dto
{
    public class PersonDto: AuditedEntityDto<Guid>
    {
        public string PersonnelName { get; set; }//姓名
        public string PersonnelSex { get; set; }//性别
        public string PersonnelDepartment { get; set; }//部门
        public string PersonnelPosition { get; set; }//职位
        public string PersonnelPhone { get; set; }//手机号
        public string PersonnelAcademy { get; set; }//院校
        public string PersonnelMajor { get; set; }//专业
        public int Education { get; set; }//学历
        public string EssentialNation { get; set; }//民族
        public int EssentialMarriage { get; set; }//婚姻
        public int Mailbox { get; set; }//邮箱
        public string PoliticsStatus { get; set; }//政治面貌
        public string Native { get; set; }//籍贯
        public DateTime BirthDate { get; set; }//出生年月
        public string IDNumber { get; set; }//身份证号
        public string PersonnelAddress { get; set; }//家庭住址
        public DateTime PersonnelEntryDate { get; set; }//入职日期
        public int PersonnelSeniority { get; set; }//工龄
        public int PersonnelCategory { get; set; }//类别
        public enum AuditState : int
        {
            ToAudit = 1,  //待审核
            InAudit = 2, //审核中
            Refused = 3, //被拒绝
            Approved = 4  //通过
        }//状态
        public int EmployeeType { get; set; }//员工类别
        public DateTime PersonnelCreateDate { get; set; }//创建时间
    }
}
